const mongoose = require('./../db')
const Schema = mongoose.Schema

const schema = new Schema({
    picid:{type:String,required:true},
    picurl:{ type:String,required:true},
    createTime:{type:Date,required:true,default:new Date},
    size:{ type:String,required:true}
})

module.exports = mongoose.model('pircture',schema)